package com.wxsoft.java.demo02.designpattern.adapter.outlet;
/**
 * ϴ�»���ʹ�����߲���
 * @author Administrator
 *
 */
public class Wash implements IThreeElectricOutlet {  
  
    private String name;  
    public Wash() {  
        name="ϴ�»�";  
    }  
    public Wash(String name){  
        this.name=name;  
    }  
    private void turnOn(){  
        System.out.println(name+"��ʼϴ�·�");  
    }
	@Override
	public void connectElectricCurrentByTreeFoot() {
		turnOn(); 
	}  
}  